@layout("/backend/common/_container.html"){
<div class="dhcc-form" id="jobInfoForm">
    <input type="hidden" id="id" value="${job.id}">
    <div class="row">
        <div class="col-sm-12">
            <#Input id="beanName" name="spring bean名称" value="${job.beanName}"/>
            <#Input id="methodName" name="方法名" value="${job.methodName}"/>
            <#Input id="params" name="参数" value="${job.params}"/>
            <#Input id="cronExpression" name="cron表达式" value="${job.cronExpression}" clickFun="JobInfoDlg.openCronEditing()"/>
            @var statusMap = {"0":"正常","1":"暂停"};
            <#Select id="status" name="任务状态" map="${statusMap}" value="${job.status}">
            </#Select>
            <#Textarea id="description" name="备注" value="${job.description}"/>
        </div>
    </div>
    <div class="toolbar">
        <div class="col-sm-12">
            <#Button name="保存" id="ensure" icon="fa fa-check" clickFun="JobInfoDlg.editSubmit()"/>
            <#Button btnCss="l-bt-red" name="关闭" id="cancel" icon="fa fa-remove" clickFun="JobInfoDlg.close()"/>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/backend/system/job/job_info.js"></script>
@}
